package com.gxuwz.easyschool;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;

import com.gxuwz.easyschool.adapter.TradeQueryAdapter;

public class TradeQueryActivity extends AppCompatActivity {
    private ListView trade_query_list;
    private ImageView trade_query_back;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_trade_query);
        trade_query_list = findViewById(R.id.trade_query_list);
        TradeQueryAdapter tradeQueryAdapter = new TradeQueryAdapter(this);
        trade_query_list.setAdapter(tradeQueryAdapter);

        trade_query_back = findViewById(R.id.trade_query_back);
        trade_query_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}